Skip to content

#795 Fix staging CI#796

Open
NoelDeMartin wants to merge 3 commits into
SolidOS:stagingfrom
NoelDeMartin:795-ci
Open

#795 Fix staging CI#796
NoelDeMartin wants to merge 3 commits into
SolidOS:stagingfrom
NoelDeMartin:795-ci

Conversation

@NoelDeMartin

@NoelDeMartin NoelDeMartin commented Jun 15, 2026

Copy link
Copy Markdown
Member

This PR fixes the issues we have in CI as described in #795.

The fix clones the solid-logic dependency, and installs it locally before running the rest of the CI. This only works with solid-logic now, but this script could be refactored to take a list of dependencies that should be symlinked this way. Also, we could potentially use the same script in other repositories in the organization in order to run their respective CIs.

Overall, this is a working solution but it isn't ideal. Even though the CI works, developers will still need to manage their own local dependencies. Maybe this isn't too much of a problem, given that the expected development workflow is to use the Lerna config from the solidos repository.

If we want to improve this in the future, I can only think of two solutions:

@NoelDeMartin NoelDeMartin linked an issue Jun 15, 2026 that may be closed by this pull request
NoelDeMartin and others added 3 commits June 15, 2026 11:59
Prompts:
- Implement a bash script here that clones the SolidOS/solid-logic repo from github, runs its build scripts, and uses  npm to install it as a local depdency to solid-ui
- Default to using the same branch name as the one were the CI is running, using the GITHUB_BASE_REF env variable

AI work summary:
- Introduced a new script `setup-ci.sh` to clone, build, and link the solid-logic repository as a peer dependency for CI.
- Updated the CI workflow to run the setup script after installing npm dependencies.

Co-Authored-By: Cursor <cursoragent@cursor.com>
@NoelDeMartin NoelDeMartin marked this pull request as ready for review June 15, 2026 10:00
@NoelDeMartin NoelDeMartin requested a review from timea-solid June 15, 2026 10:00
@NoelDeMartin NoelDeMartin self-assigned this Jun 15, 2026
@SharonStrats

Copy link
Copy Markdown
Contributor

That's cool, it does get a bit more complicated though like solid-panes for instance it depends on all the panes. I wonder if it would get to be a bit much in that case.

@NoelDeMartin

NoelDeMartin commented Jun 15, 2026

Copy link
Copy Markdown
Member Author

That's cool, it does get a bit more complicated though like solid-panes for instance it depends on all the panes. I wonder if it would get to be a bit much in that case.

The script shouldn't get over-complicated, it would just take a list of dependencies rather than assume that solid-logic is the only dependency. But yes, it's not super straight-forward... But I can't think of any better way to do it (besides the 2 long time solutions I mentioned).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

CI checks aren't run against staging

3 participants